

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'helper-form',
	'enableAjaxValidation'=>false,
	'htmlOptions'=>array(
		'class' => 'form collapsed',
	),
)); ?>
<fieldset class="grey inline">
	<legend><?php echo Controller::getActionName($this->action->id); ?></legend>
	
	<div class="notification tip" style="display: block; "> 
    <span class="strong">Tip:</span> <?php echo $form->errorSummary($model); ?>
 <span class="close" title="Dismiss"></span>
    </div>
    <div class='row'>
	<label>
		<?php echo $form->labelEx($model,'MODULE_V'); ?>
		<?php echo $form->textField($model,'MODULE_V',array('size'=>60,'maxlength'=>128)); ?>
		<?php //echo $form->error($model,'MODULE_V'); ?>
	</label>
	</div>

	<div class='row'>
	<label>
		<?php echo $form->labelEx($model,'SUBSYSTEM_V'); ?>
		<?php echo $form->textField($model,'SUBSYSTEM_V',array('size'=>60,'maxlength'=>128)); ?>
		<?php //echo $form->error($model,'SUBSYSTEM_V'); ?>
	</label>
	</div>

	<label>
		<?php echo $form->labelEx($model,'HELPER_V'); ?>
		<?php echo $form->textArea($model,'HELPER_V',array('rows'=>6, 'cols'=>50)); ?>
		<?php //echo $form->error($model,'HELPER_V'); ?>
	</label>

	<div class='row'>
	<label>
		<?php echo $form->labelEx($model,'CREATE_TIME'); ?>
		<?php
			$this->widget('zii.widgets.jui.CJuiDatePicker', array(
			'model'=>$model,
			'attribute'=>'CREATE_TIME',
			    'options'=>array(
			        'showAnim'=>'fold',
					'dateFormat'=>'yy-mm-dd'
			    ),
			    'htmlOptions'=>array(
			        'style'=>'height:15px;'
			    ),
				'language'=>'ZH-CN'
			));
		?>
		<?php //echo $form->error($model,'CREATE_TIME'); ?>
	</label>
	</div>
	
	<?php echo CHtml::submitButton($model->isNewRecord ? '添加' : '保存',array('class'=>'button blue')); ?>
</fieldset>
<?php $this->endWidget(); ?>

